import {CreateFormElsComponents} from "../render/common.ts"
import {ElSwitchCustomerEvents, ElSwitchCustomerProps, ElSwitchCustomerExtend} from "./index.ts"
import {SwitchProps, SwitchEmits} from "element-plus"

type ElSwitchProps = ElSwitchCustomerProps & SwitchProps

type ElSwitchEvents = ElSwitchCustomerEvents & SwitchEmits

type ElSwitchExtend = ElSwitchCustomerExtend

export type ElSwitch<Prop> = CreateFormElsComponents<'el-switch', Prop, ElSwitchProps, ElSwitchEvents> & ElSwitchExtend
